package com.rdk.utils;

import org.apache.http.impl.client.DefaultHttpClient;

import com.rdk.exception.ServiceException;

public class TestClent {
	//356959062305005
	public static void main(String[] args) {
		HttpClientUtil httpClientUtil = new HttpClientUtil();
		httpClientUtil.setHttpclient(new DefaultHttpClient());
		// 356959062305005
		String url = "http://www.25pp.com/xuliehao/index.php?action=search&sn=356959062305005";
		String jsonStr = null;
		try {
			jsonStr = httpClientUtil.postData(url);

		} catch (ServiceException e) {
			e.printStackTrace();
			
		}

		//String url = 
		System.out.println(jsonStr);
	}

}
